#ifndef AUDIODEVICE_HPP
#define AUDIODEVICE_HPP

#include <portaudio.h>
#include <QtCore/QString>

/** @brief The AudioDevice class just contains information about output devices */
class AudioDevice {
    private:
        bool available;
        int paIndex;
        PaDeviceInfo info;
    public:
        /**
         * @brief Load device information
         * @param info PaDeviceInfo struc from Portaudio
         * @param index Portaudio device index
         */
        AudioDevice(const PaDeviceInfo *info, int index);
        int getPaIndex();
        bool isAvailable();
        QString getName();
        unsigned int getChannels();
};

#endif // AUDIODEVICE_HPP
